home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / DesktopAnimPanel.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  6KB  |  182 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: DesktopAnimPanel.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_DesktopAnimPanel_h
  11. #define SOM_DesktopAnimPanel_h
  12.  
  13.  
  14. /*
  15.  * Passthru lines: File: "C.h", "before"
  16.  */
  17. #include <DesktopAnimation.h>
  18. #include <Displays.h>
  19.  
  20. #include <som.h>
  21.  
  22. /*
  23.  * -- This emitter treats Method Tokens as Thunks by default.
  24.  * -- Use the sc modifier "nothunks" to change this default
  25.  */
  26. #undef somresolve_
  27. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  28.  
  29. /*
  30.  * Define the class name as an object type
  31.  */
  32. #ifndef DesktopAnimPanel
  33. #define DesktopAnimPanel SOMObject
  34. #endif
  35. #include <DesktopAnimBase.h>
  36.  
  37. /*
  38.  * Start of user-defined types:
  39.  */
  40. #ifndef SOMClass
  41.     #define SOMClass SOMObject
  42. #endif /* SOMClass */
  43. #ifndef SOMObject
  44.     #define SOMObject SOMObject
  45. #endif /* SOMObject */
  46. #ifndef Repository
  47.     #define Repository SOMObject
  48. #endif /* Repository */
  49.  
  50. /*
  51.  * End of user-defined types.
  52.  */
  53.  
  54. #define DesktopAnimPanel_MajorVersion 0
  55. #define DesktopAnimPanel_MinorVersion 0
  56.  
  57. /*
  58.  * External name shortening if required
  59.  */
  60. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  61. #define DesktopAnimPanelClassData d
  62. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  63. /*--------------Migration------------*/
  64.  
  65. #ifdef OLDIBMSOMAPISUPPORT
  66. #define DesktopAnimPanel_classObj somNewClassReference(DesktopAnimPanel)
  67. #define _DesktopAnimPanel DesktopAnimPanel_classObj
  68. #define DesktopAnimPanelCClassData DesktopAnimPanelClassData
  69. #define DesktopAnimPanelNewClass(major,minor) somNewVersionedClassReference(DesktopAnimPanel,major,minor)
  70. #endif
  71.  
  72. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  73. #define DesktopAnimPanelMetaClass SOMClass
  74.  
  75. #if PRAGMA_ALIGN_SUPPORTED
  76. #  pragma options align=power
  77. #endif
  78.  
  79. /*
  80.  * Declare the class data structure
  81.  */
  82. SOMEXTERN struct DesktopAnimPanelClassDataStructure {
  83. #ifdef OLDIBMSOMAPISUPPORT
  84.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  85. #else
  86.     long zero;
  87. #endif
  88.     somStaticClassInfo *sci;
  89.     somDToken        instanceDataToken;
  90.     long reserved [3];
  91.     somMToken Initialize;
  92.     somMToken Close;
  93. } SOMDLINK DesktopAnimPanelClassData;
  94.  
  95. #if PRAGMA_ALIGN_SUPPORTED
  96. #  pragma options align=reset
  97. #endif
  98.  
  99. #if !defined(DesktopAnimPanel_Class_Source) && !defined(SOM_Module_desktopanimpanel_Source)
  100. #if PRAGMA_IMPORT_SUPPORTED
  101. #pragma import list DesktopAnimPanelClassData
  102. #endif
  103. #endif
  104.  
  105.  
  106. /*
  107.  * New macro for DesktopAnimPanel
  108.  */
  109. #define DesktopAnimPanelNew() somNewObject(DesktopAnimPanel)
  110.  
  111. /*
  112.  * New Method: Initialize
  113.  */
  114. typedef OSStatus   (SOMLINK *somTD_DesktopAnimPanel_Initialize)(DesktopAnimPanel *somSelf, Environment *ev,
  115.         AVIDType prefsDisplayID,
  116.         DesktopAnimModuleDescRef moduleDescRef,
  117.         DesktopAnimModuleInfo* moduleInfo);
  118. #define somMD_DesktopAnimPanel_Initialize "::DesktopAnimPanel::Initialize"
  119. #define DesktopAnimPanel_Initialize(somSelf,ev,prefsDisplayID,moduleDescRef,moduleInfo) \
  120.     (SOM_Resolve(somSelf, DesktopAnimPanel, Initialize) \
  121.     (somSelf,ev,prefsDisplayID,moduleDescRef,moduleInfo))
  122. #ifndef SOMGD_Initialize
  123.     #if defined _Initialize || defined __Initialize
  124.         #undef _Initialize
  125.         #undef __Initialize
  126.         #define SOMGD_Initialize 1
  127.     #else
  128.         #define _Initialize DesktopAnimPanel_Initialize
  129.     #endif /* _Initialize */
  130. #endif /* SOMGD_Initialize */
  131.  
  132. /*
  133.  * New Method: Close
  134.  */
  135. typedef OSStatus   (SOMLINK *somTD_DesktopAnimPanel_Close)(DesktopAnimPanel *somSelf, Environment *ev);
  136. #define somMD_DesktopAnimPanel_Close "::DesktopAnimPanel::Close"
  137. #define DesktopAnimPanel_Close(somSelf,ev) \
  138.     (SOM_Resolve(somSelf, DesktopAnimPanel, Close) \
  139.     (somSelf,ev))
  140. #ifndef SOMGD_Close
  141.     #if defined _Close || defined __Close
  142.         #undef _Close
  143.         #undef __Close
  144.         #define SOMGD_Close 1
  145.     #else
  146.         #define _Close DesktopAnimPanel_Close
  147.     #endif /* _Close */
  148. #endif /* SOMGD_Close */
  149. #ifndef SOM_DONT_USE_INHERITED_MACROS
  150. #define DesktopAnimPanel_InitializeBase DesktopAnimBase_InitializeBase
  151. #define DesktopAnimPanel_CloseBase DesktopAnimBase_CloseBase
  152. #define DesktopAnimPanel_AddDesktopAnimCollectionItem DesktopAnimBase_AddDesktopAnimCollectionItem
  153. #define DesktopAnimPanel_GetDesktopAnimCollectionItem DesktopAnimBase_GetDesktopAnimCollectionItem
  154. #define DesktopAnimPanel_GetDesktopAnimCollectionItemData DesktopAnimBase_GetDesktopAnimCollectionItemData
  155. #define DesktopAnimPanel_RemoveDesktopAnimCollectionItem DesktopAnimBase_RemoveDesktopAnimCollectionItem
  156. #define DesktopAnimPanel_ReadDesktopAnimCollection DesktopAnimBase_ReadDesktopAnimCollection
  157. #define DesktopAnimPanel_WriteDesktopAnimCollection DesktopAnimBase_WriteDesktopAnimCollection
  158. #define DesktopAnimPanel_GetModuleDescription DesktopAnimBase_GetModuleDescription
  159. #define DesktopAnimPanel_somInit SOMObject_somInit
  160. #define DesktopAnimPanel_somUninit SOMObject_somUninit
  161. #define DesktopAnimPanel_somDuplicateReference SOMObject_somDuplicateReference
  162. #define DesktopAnimPanel_somCompareReference SOMObject_somCompareReference
  163. #define DesktopAnimPanel_somRelease SOMObject_somRelease
  164. #define DesktopAnimPanel_somFree SOMObject_somFree
  165. #define DesktopAnimPanel_somCanDelete SOMObject_somCanDelete
  166. #define DesktopAnimPanel_somGetClass SOMObject_somGetClass
  167. #define DesktopAnimPanel_somGetClassName SOMObject_somGetClassName
  168. #define DesktopAnimPanel_somGetSize SOMObject_somGetSize
  169. #define DesktopAnimPanel_somIsA SOMObject_somIsA
  170. #define DesktopAnimPanel_somRespondsTo SOMObject_somRespondsTo
  171. #define DesktopAnimPanel_somIsInstanceOf SOMObject_somIsInstanceOf
  172. #define DesktopAnimPanel_somDispatch SOMObject_somDispatch
  173. #define DesktopAnimPanel_somClassDispatch SOMObject_somClassDispatch
  174. #define DesktopAnimPanel_somCastObj SOMObject_somCastObj
  175. #define DesktopAnimPanel_somResetObj SOMObject_somResetObj
  176. #define DesktopAnimPanel_somPrintSelf SOMObject_somPrintSelf
  177. #define DesktopAnimPanel_somDumpSelf SOMObject_somDumpSelf
  178. #define DesktopAnimPanel_somDumpSelfInt SOMObject_somDumpSelfInt
  179. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  180.  
  181. #endif       /* SOM_DesktopAnimPanel_h */
  182.